|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfunzioni.Funzione
Classe generica che serve come base per le funzioni.
| Constructor Summary | |
Funzione(int xMin,
int xMax,
int yMin,
int yMax)
Costruttore di default. |
|
| Method Summary | |
abstract float |
f(float x)
Metodo che implementa la funzione stessa. |
int |
getXMax()
Massimo valore dell'intervallo di definizione. |
int |
getXMin()
|
int |
getYMax()
Massimo valore asse y. |
int |
getYMin()
Minimo valore asse y possibile. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Funzione(int xMin,
int xMax,
int yMin,
int yMax)
xMin - minimo asse xxMax - massimo asse xyMin - minimo asse yyMax - massimo ase y| Method Detail |
public abstract float f(float x)
x - il valore di ingresso della funzione
java.lang.IllegalArgumentException - se il valore x fornito non e' nel range della funzionepublic int getXMin()
public int getXMax()
public int getYMin()
public int getYMax()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||